*{
	padding:0px;
	margin:0px;
	list-style:none;
}
html, body{
    height: 100%;
}

body {
	background-color: #d9dee2;
    background-image: -webkit-linear-gradient(top, #ebeef2, #d9dee2);
    background-image: -moz-linear-gradient(top, #ebeef2, #d9dee2);
}
#login{
	margin:0px auto;
	width:400px;
	height:220px;
	box-shadow:
          0 0 2px rgba(0, 0, 0, .2),
          0 1px 1px rgba(0, 0, 0, .2),
          0 3px 0 #fff,
          0 4px 0 rgba(0, 0, 0, .2),
          0 6px 0 #fff,
          0 7px 0 rgba(0, 0, 0, .2);
	background-color: #fff;
    background-image: -webkit-linear-gradient(top, #fff, #eee);
	background-image: -moz-linear-gradient(top, #fff, #eee);
	position:absolute;
	z-index: 0;
	top:50%;
	left:50%;
	margin-top:-150px;
	margin-left:-200px;
	border-radius:3px;
	padding:30px;
}
#login:before{
    content: '';
    position: absolute;
    z-index: -1;
    border: 1px dashed #ccc;
    top: 5px;
    bottom: 5px;
    left: 5px;
    right: 5px;
    box-shadow: 0 0 0 1px #fff;
}
#login h1 {
	position: relative;
    text-align: center;
	margin-bottom:15px;
    color: #666; 
	letter-spacing:10px;
	text-shadow: 0 1px 1px rgba(255, 255, 255, .7), 0px 1px 1px rgba(0, 0, 0, .5);
}
#login h1:after, #login h1:before{
    content: "";
	background-color: #777;
    height: 1px;
    position: absolute;
    top: 15px;
    width: 150px;   
}
#login h1:after{ 
    background-image: -webkit-linear-gradient(left, #777, #fff);
	background-image: -moz-linear-gradient(left, #777, #fff);
    background-image: linear-gradient(left, #777, #fff);      
    right: 0;
}
#login h1:before{
    background-image: -webkit-linear-gradient(right, #777, #fff);
    background-image: -moz-linear-gradient(right, #777, #fff);
    background-image: linear-gradient(right, #777, #fff);
    left: 0;
}
fieldset{
    border: 0;
    padding: 0;
    margin: 0;
}

#inputs input {
	background: #f1f1f1 url(../image/login-sprite.png) no-repeat;
	padding: 15px 15px 15px 30px;
	border: 1px solid #ccc;
	width:350px;
	border-radius: 5px;
	margin-bottom: 10px;
    box-shadow: 0 1px 1px #ccc inset, 0 1px 0 #fff;
	color:#444;
}
#inputs input:focus {
	background-color:#FFF;
	border-color: #e8c291;
	box-shadow: 0 0 0 1px #e8c291 inset;
	outline: none;
}
#username{
	background-position: 5px -2px !important;
}
#password{
	background-position: 5px -52px !important;j
}
#actions{
    margin: 15px 0 0 0;
}
#submit {
	background-color: #ffb94b;
    background-image: -webkit-linear-gradient(top, #fddb6f, #ffb94b);
    background-image: -moz-linear-gradient(top, #fddb6f, #ffb94b);
    background-image: linear-gradient(top, #fddb6f, #ffb94b);
	height: 35px;
    width: 120px;
	border-width: 1px;
    border-style: solid;
    border-color: #d69e31 #e3a037 #d5982d #e3a037;
	border-radius: 3px;
	cursor: pointer;
	color: #8f5a0a;
	text-shadow: 0 1px 0 rgba(255,255,255,0.5);
	-moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
	box-shadow: 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
	font-size:14px;
	letter-spacing:10px;
}
#submit:hover,#submit:focus{		
    background-color: #fddb6f;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ffb94b), to(#fddb6f));
    background-image: -webkit-linear-gradient(top, #ffb94b, #fddb6f);
    background-image: -moz-linear-gradient(top, #ffb94b, #fddb6f);
    background-image: -ms-linear-gradient(top, #ffb94b, #fddb6f);
    background-image: -o-linear-gradient(top, #ffb94b, #fddb6f);
    background-image: linear-gradient(top, #ffb94b, #fddb6f);
}	#result {
	font-size: 13px;
	color: #F00;
}
